package com.melon.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ServiceDeploymentImageResourceConfigVM {

    private Double calculation;

    private String unit;

    private Double memory;

    private Double disk;

    private Double cores;

    public ServiceDeploymentImageResourceConfigVM(Double calculation, Double memory, Double disk, Double cores, String unit) {
        this.calculation = calculation;
        this.memory = memory;
        this.disk = disk;
        this.cores = cores;
        this.unit = unit;
    }
}
